using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmartLink.Domain.Entity;
using SmartLink.EnumLibrary;

namespace SmartLink.IRepository
{
   public interface IBIZ_UserToOrganizationRepo: IRepository<BIZ_UserToOrganization>
    {
        bool DeleteByUserId(int userId,DbTransaction tran = null);
        OrgStatusEnum GetUserOrginzationStatus(int userId);
        bool CheckExistUserUnderDept(int orgDeptId);
        BIZ_UserToOrganization GetByUserId(int creator);
    }
}
